package com.ktjiaoyu.service;

import com.ktjiaoyu.entity.Supplier;
import com.ktjiaoyu.entity.SysUser;
import com.ktjiaoyu.utils.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SupplierService {
    /** 多条件查询用户分页数据 */
    public Page<Supplier> findPage(Supplier supplier, Integer pageNo, Integer pageSize);

    public boolean insert(Supplier supplier);

    public boolean update(Supplier supplier);

    public Supplier findById(@Param("id") Long id);

    public List<Supplier> getAll();

    public Supplier selectSupCode(@Param("supCode") String supCode);

    public boolean delete(@Param("id") Integer id);
}
